package com.zhf.cloud.gateway.springcloudgateway.feign;

import com.zhf.cloud.gateway.springcloudgateway.model.user.LoginAppUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author: 曾鸿发
 * @create: 2021-11-22 11:12
 * @description：
 **/
@FeignClient("userFeignClient")
public interface UserClient {

    @GetMapping("//$Aj_system_center/users/currentByToken")
    public LoginAppUser getLoginAppUserByToken(@RequestParam("access_token") String access_token);
}
